projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
983c618
)
gtkplacesview: remove dead code
author
Carlos Soriano
<csoriano@gnome.org>
Wed, 14 Oct 2015 19:47:39 +0000
(21:47 +0200)
committer
Carlos Soriano
<csoriano@gnome.org>
Thu, 15 Oct 2015 17:16:56 +0000
(19:16 +0200)
This is checked on add_volume inside the loop.
https://bugzilla.gnome.org/show_bug.cgi?id=756589
gtk/gtkplacesview.c
patch
|
blob
|
history
diff --git
a/gtk/gtkplacesview.c
b/gtk/gtkplacesview.c
index 00b306803b53aeebc71f2de8e85ed8312a4aa9d8..1335b4d23994b95932a3226fee30a50a83b8915d 100644
(file)
--- a/
gtk/gtkplacesview.c
+++ b/
gtk/gtkplacesview.c
@@
-786,10
+786,6
@@
add_drive (GtkPlacesView *view,
GList *volumes;
GList *l;
- /* Removable devices won't appear here */
- if (g_drive_can_eject (drive))
- return;
-
volumes = g_drive_get_volumes (drive);
for (l = volumes; l != NULL; l = l->next)